package com.kx.ssm.constants;

/**
 * @ClassName CodeResult
 * @Author Sun
 * @Date 2021/5/20 22:40
 */
public interface ResultCode {
    int SUCCESS = 1;//成功
    int FAIL = 0;
    int ID_NOT_EXIST = 1000;//主键不存在(数据不存在)
    int DATA_NOT_WANZHENG = 1001;//数据不完整
    int USERNAME_PASSOWRD_ERROR = 1002;//用户名或者密码错误
    int USERNAME_PASSOWRD_ERROR_LIMIT = 1003;//登录失败次数过多
}
